package com.bl.weilan.service.vo.user;

import com.bl.weilan.common.enums.UserStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by liangweikang on 18/3/17.
 */

@Data
@ApiModel(value = "UserInfoVo", description = "用户列表")

public class UserInfoVo {

    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "用户状态")
    private UserStatus status;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "行业")
    private String institution;

    @ApiModelProperty(value = "vip")
    private int vip;

    @ApiModelProperty(value = "联系人姓名")
    private String contacter;

}
